package com.account.domains;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 帐户表
 * </p>
 *
 * @author ganhuaicheng
 * @since 2017-09-19
 */
@TableName("account_user_fund")
public class AccountUserFund implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 用户id
	 */
	@TableField(value="customer_id")
	private Long customerId;

	/**
	 * 用户姓名
	 */
	@TableField(value="cust_name")
	private String custName;

	/**
	 * 证件类型（1：身份证）
	 */
	@TableField(value="cust_type")
	private Integer custType;

	/**
	 * 证件号码
	 */
	@TableField(value="cust_card")
	private String custCard;

	/**
	 * 用户手机号
	 */
	private String mobile;

	/**
	 * 帐户1馀额(单位:分) 系统代扣金额
	 */
	@TableField(value="account_balanc1")
	private BigDecimal accountBalanc1;

	/**
	 * 帐户1冻结金额(单位:分)
	 */
	@TableField(value="account_frozen1")
	private BigDecimal accountFrozen1;

	/**
	 * 帐户2馀额(单位:分) 汇款金额
	 */
	@TableField(value="account_balanc2")
	private BigDecimal accountBalanc2;

	/**
	 * 帐户2冻结金额(单位:分)
	 */
	@TableField(value="account_frozen2")
	private BigDecimal accountFrozen2;

	/**
	 * 帐户3馀额(单位:分) 平安代扣金额
	 */
	@TableField(value="account_balanc3")
	private BigDecimal accountBalanc3;

	/**
	 * 帐户3冻结金额(单位:分)
	 */
	@TableField(value="account_frozen3")
	private BigDecimal accountFrozen3;

	/**
	 * 逻辑删除标记  0：有效;1：删除
	 */
	@TableField(value="is_delete")
	private Integer isDelete;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 更新时间
	 */
	@TableField(value="update_time")
	private Date updateTime;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}

	public String getCustName() {
		return custName;
	}

	public void setCustName(String custName) {
		this.custName = custName;
	}

	public Integer getCustType() {
		return custType;
	}

	public void setCustType(Integer custType) {
		this.custType = custType;
	}

	public String getCustCard() {
		return custCard;
	}

	public void setCustCard(String custCard) {
		this.custCard = custCard;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public BigDecimal getAccountBalanc1() {
		return accountBalanc1;
	}

	public void setAccountBalanc1(BigDecimal accountBalanc1) {
		this.accountBalanc1 = accountBalanc1;
	}

	public BigDecimal getAccountFrozen1() {
		return accountFrozen1;
	}

	public void setAccountFrozen1(BigDecimal accountFrozen1) {
		this.accountFrozen1 = accountFrozen1;
	}

	public BigDecimal getAccountBalanc2() {
		return accountBalanc2;
	}

	public void setAccountBalanc2(BigDecimal accountBalanc2) {
		this.accountBalanc2 = accountBalanc2;
	}

	public BigDecimal getAccountFrozen2() {
		return accountFrozen2;
	}

	public void setAccountFrozen2(BigDecimal accountFrozen2) {
		this.accountFrozen2 = accountFrozen2;
	}

	public BigDecimal getAccountBalanc3() {
		return accountBalanc3;
	}

	public void setAccountBalanc3(BigDecimal accountBalanc3) {
		this.accountBalanc3 = accountBalanc3;
	}

	public BigDecimal getAccountFrozen3() {
		return accountFrozen3;
	}

	public void setAccountFrozen3(BigDecimal accountFrozen3) {
		this.accountFrozen3 = accountFrozen3;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
